package com.syni.mdd.yhd.common.all.controller.protect.smallProgram;

import com.syni.mdd.sjb.common.component.utils.common.annotations.CheckParams;
import com.syni.mdd.yhd.common.all.service.BmsUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @className BmsMinApp
 * @description TOO
 * @Author cfx
 * @DATE 2019/11/22 11:05
 * @VERSION 1.0
 **/
@RestController
@RequestMapping("/min")
public class BmsMinAppController {

    @Autowired
    BmsUserService bmsUserService;

    /**
     * @Description 用户端获取商家满减券
     * @Author: cfx
     * @Date: 2019/8/2
     */
    @GetMapping("/getUser")
    @CheckParams
    public Map<String,Object> getBusinessFullCoupon(){
        return bmsUserService.registerLoginHandle(1,"1","13192294501",null,null);
    }



}
